Efficient Detection of Channel Predicates in Distributed Systems
نویسندگان
چکیده
This paper discusses efficient detection of global predicates in a distributed program. Previous work in this area required predicates to be specified as a conjunction of predicates defined on individual processes. Many properties in distributed systems, however, use the state of channels such as “the channel is empty,” or “there is a token in the channel”. In this paper, we introduce the concept of a linear channel predicate and provide efficient centralized and distributed algorithms to detect any conjunction of local and linear channel predicates. The class of linear predicates is fairly broad. For example, classic problems such as detection of termination and computation of global virtual time are instances of conjunctions of linear channel predicates. Linear predicates can be functions of the number of messages in the channel, or can be based upon the actual contents of the messages. The main application of our results are in debugging and testing of distributed programs. For these applications it is important to detect the first state where some predicate is true. We show that this first state is uniquely defined if and only if linear predicates are used.
منابع مشابه
Detecting conjunctive channel predicates in a distributed programming environment
Previous work in efficient detection of global predicates was restricted to predicates that could be specified as a boolean formula of local predicates. Many properties in distributed systems, however, use the state of channels. In this paper, we introduce the concept of a channel predicate and provide an efficient algorithm to detect any boolean formula of local and channel predicates. We defi...
متن کاملEfficient Detection of Channel Predicates in Distributed Systems1
This paper discusses efficient detection of global predicates in a distributed program. Previous work in this area required predicates to be specified as a conjunction of predicates defined on individual processes. Many properties in distributed systems, however, use the state of channels such as “the channel is empty,” or “there is a token in the channel”. In this paper, we introduce the conce...
متن کاملConjunctive Predicate Detection
This paper discusses eecient detection of global predicates in a distributed program. Previous work in detection of global predicates was restricted to predicates that could be speciied as a boolean formula of local predicates. Many properties in distributed systems, however, use the state of channels. In this paper, we introduce the concept of a channel predicate and provide an eecient algorit...
متن کاملEfficient Detection of Restricted Classes of Global Predicates
We show that the problem of predicate detection in distributed systems is NP-complete. We introduce a class of predicates, linear predicates, such that for any linear predicate B there exists an efficient detection of the least cut satisfyingB. The dual of linearity is post-linearity. These properties generalize several known properties of distributed systems, such as the set of consistent cuts...
متن کاملDistributed Predicate Detection in a Faulty Environment
There has been very little research in distributed predicate detection for faulty, asynchronous environments. In this paper we deene a class of predicates called set decreasing predicates which can be detected in such an environment. We introduce a set of failure detectors called innnitely often accurate detectors which are implementable in asynchronous systems. Based on these failure detectors...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- J. Parallel Distrib. Comput.
دوره 45 شماره
صفحات -
تاریخ انتشار 1997